<?php if (!defined('THINK_PATH')) exit();?><html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <title>Form</title>
</head>
<body>
<div> 
    <form action="<?php echo U('Home/List/editDo');?>" method="post" accept-charset="utf-8">
         分类：
        <select name='category_id'>
            <option value ="">分类</option>
            <?php if(is_array($plists)): foreach($plists as $key=>$plist): ?><option value ="<?php echo ($plist["id"]); ?>"  <?php if($row["category_id"] == $plist['id']): ?>selected='selected'<?php endif; ?>  ><?php echo ($plist["title"]); ?></option><?php endforeach; endif; ?>
        </select><br/>
        标题:<input type="text" name="title" value="<?php echo ($row['title']); ?>"><br/>
        网址:<input type="text" name="url" value="<?php echo ($row['url']); ?>"><br/>    
        <input type="hidden" name="id" value="<?php echo ($row['id']); ?>">
        <p><input type="submit" value="提交"></p>
    </form>
</div>

</body>
</html>